<template>
	<view class="mainpadding">
		<!-- //选择器 -->
		<u-picker :show="dshow" ref="uPicker" confirmColor="#DCB490" :columns="dcolumns" @confirm="dconfirm"
			title="退款原因" keyName="name" @cancel="dshow=false"></u-picker>
		<view class=" radius huowubox">
			<view class="tuikuantext mainpadding">退款信息</view>
			<view class="mainpadding2  flexbetween">
				<view class="tupian radius">
					<!-- <image class="radius" src="../../static/image/shili/shili1.png" mode=""></image> -->
				</view>
				<view class="right">
					<view class="wenben lianghang">
						十六字阴阳风水秘术15151515155155151....
					</view>
					<view class="wenben jianshu">×15件 </view>
					<view class="jinebox  margin_top">
						<view class="qianshu"> 金额：888元</view>
					</view>
				</view>
			</view>
			<view class="flexbetween margin_top mainpadding" @click="dshow = true">
				<view class="tuikuantext">退款原因</view>
				<view class="flexleft">
					<input type="text" class="input-text" placeholder="请输入退款原因" v-model="tuikuanyy">
					<view class="icon">
						<image src="../../static/image/system/righticon.png" mode=""></image>
					</view>
				</view>
			</view>
			<view class="flexbetween  mainpadding">
				<view class="tuikuantext">退款件数</view>
				<view class="huisewenben">15件</view>
			</view>
			<view class="flexbetween  mainpadding">
				<view class="tuikuantext">退款金额</view>
				<view class="huisewenben">888.00</view>
			</view>
		</view>
		<view class="radius huowubox flexbetween kaidizt">
			<view class="tuikuantext">快递状态</view>
			<view class="huisewenben">待返回</view>
		</view>
		<view class="dibu mainpadding">
			<view class="tuiku mainpadding margin_top">撤销申请</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dshow: false,
				dcolumns: [
					[{
						name: '不想要了 ',
						id: 2021
					}, {
						name: '吃不起饭了，退款吃饭',
						id: 804
					}, {
						name: '买错，原谅解',
						id: 804
					}, {
						name: '买多了',
						id: 804
					}, ]
				],
				tuikuanyy: "",
				listid:""
			}
		},
		onLoad(options) {
			this.listid = options.id
		},
		methods: {
			dconfirm(e) {
				console.log(e)
				this.tuikuanyy = e.value[0].name
				this.dshow = false
			},
		}
	}
</script>

<style lang="scss" scoped>
	.input-text {
		text-align: right;
		font-size: 24rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #999999;
	}

	.kaidizt {
		padding: 60rpx 30rpx;
		margin-top: 40rpx;
	}

	.huisewenben {
		font-size: 24rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #999999;
	}

	.tuikuantext {
		font-size: 30rpx;
		font-family: Microsoft YaHei;
		font-weight: bold;
		color: #333333;
	}

	.icon {
		margin: 0 0 14rpx 14rpx;
		width: 14rpx;
		height: 24rpx;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.lianghang {
		overflow: hidden;
		overflow-wrap: break-word;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		width: 448rpx;
		height: 70rpx;
	}

	.right {
		margin-left: 30rpx;
		width: 66%;
	}

	.jianshu {
		text-align: right;
	}

	.quxiaanniu {
		width: 154rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 57rpx;
		font-size: 30rpx;
		font-family: Microsoft YaHei;
		font-weight: bold;
		color: #DCB490;
		background: #FFFFFF;
		border-radius: 50rpx;
		border: 2rpx solid #DCB490;
	}

	.qianshu {
		font-size: 30rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #FF3939;
	}

	.wenben {
		font-size: 30rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #333333;
	}

	.tupian {
		width: 34%;
		height: 189rpx;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.huowubox {
		box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(51, 51, 51, 0.1000);
	}
</style>
